package com.heima.media.listener;

import com.heima.media.task.MediaTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import sun.security.krb5.internal.MethodData;

import javax.annotation.PostConstruct;

/**
 * @author: itheima
 * @create: 2022-05-19 14:46
 */
@Component
public class AuditListener implements CommandLineRunner {

    @Autowired
    private MediaTask mediaTask;


    @Override
    public void run(String... args) throws Exception {
        mediaTask.handlerMsg();
    }
}
